home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ISO-8859 text
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 73 70 72 69 6e |Path: ne|ws.sprin|
|00000010| 74 6c 69 6e 6b 2e 6e 65 | 74 21 64 61 74 61 6c 79 |tlink.ne|t!dataly|
|00000020| 74 69 63 73 21 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |tics!new|s.From: |
|00000030| 52 6f 62 20 53 74 65 77 | 61 72 74 20 3c 73 74 65 |Rob Stew|art <ste|
|00000040| 77 40 64 61 74 61 6c 79 | 74 69 63 73 2e 63 6f 6d |w@dataly|tics.com|
|00000050| 3e 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |>.Newsgr|oups: co|
|00000060| 6d 70 2e 6c 61 6e 67 2e | 63 2b 2b 2c 63 6f 6d 70 |mp.lang.|c++,comp|
|00000070| 2e 6c 6e 61 67 2e 63 2b | 2b 2e 6d 6f 64 65 72 61 |.lnag.c+|+.modera|
|00000080| 74 65 64 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |ted.Subj|ect: Re:|
|00000090| 20 63 61 63 68 65 64 20 | 6f 75 74 70 75 74 20 69 | cached |output i|
|000000a0| 6e 20 63 2b 2b 0a 44 61 | 74 65 3a 20 34 20 4a 61 |n c++.Da|te: 4 Ja|
|000000b0| 6e 20 31 39 39 36 20 32 | 30 3a 31 35 3a 31 36 20 |n 1996 2|0:15:16 |
|000000c0| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000000d0| 3a 20 44 61 74 61 6c 79 | 74 69 63 73 2c 20 49 6e |: Dataly|tics, In|
|000000e0| 63 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 34 |c.Messag|e-ID: <4|
|000000f0| 63 68 63 67 6b 24 6c 64 | 67 40 67 6f 6c 64 2e 64 |chcgk$ld|g@gold.d|
|00000100| 61 74 61 6c 79 74 69 63 | 73 2e 63 6f 6d 3e 0a 52 |atalytic|s.com>.R|
|00000110| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 62 6f 75 |eference|s: <4bou|
|00000120| 6c 72 24 71 69 75 40 62 | 72 69 67 69 74 74 65 2e |lr$qiu@b|rigitte.|
|00000130| 66 6f 72 74 68 6e 65 74 | 2e 67 72 3e 0a 4e 4e 54 |forthnet|.gr>.NNT|
|00000140| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000150| 70 63 30 37 31 2e 64 61 | 74 61 6c 79 74 69 63 73 |pc071.da|talytics|
|00000160| 2e 63 6f 6d 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |.com.Mim|e-Versio|
|00000170| 6e 3a 20 31 2e 30 0a 43 | 6f 6e 74 65 6e 74 2d 54 |n: 1.0.C|ontent-T|
|00000180| 79 70 65 3a 20 74 65 78 | 74 2f 70 6c 61 69 6e 3b |ype: tex|t/plain;|
|00000190| 20 63 68 61 72 73 65 74 | 3d 69 73 6f 2d 38 38 35 | charset|=iso-885|
|000001a0| 39 2d 31 0a 43 6f 6e 74 | 65 6e 74 2d 54 72 61 6e |9-1.Cont|ent-Tran|
|000001b0| 73 66 65 72 2d 45 6e 63 | 6f 64 69 6e 67 3a 20 38 |sfer-Enc|oding: 8|
|000001c0| 62 69 74 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |bit.X-Ma|iler: Mo|
|000001d0| 7a 69 6c 6c 61 20 31 2e | 32 32 20 28 57 69 6e 64 |zilla 1.|22 (Wind|
|000001e0| 6f 77 73 3b 20 49 3b 20 | 33 32 62 69 74 29 0a 54 |ows; I; |32bit).T|
|000001f0| 6f 3a 20 74 68 69 6d 6d | 40 6f 6e 6e 65 64 2e 67 |o: thimm|@onned.g|
|00000200| 72 0a 0a 74 68 69 6d 6d | 40 6f 6e 6e 65 64 2e 67 |r..thimm|@onned.g|
|00000210| 72 20 28 48 65 72 62 65 | 72 74 20 54 68 69 6d 6d |r (Herbe|rt Thimm|
|00000220| 29 20 77 72 6f 74 65 3a | 0a 3e 48 65 6c 6c 6f 2c |) wrote:|.>Hello,|
|00000230| 0a 3e 49 20 61 6d 20 77 | 6f 6e 64 65 72 69 6e 67 |.>I am w|ondering|
|00000240| 2c 20 69 66 20 43 2b 2b | 20 68 61 73 20 62 75 69 |, if C++| has bui|
|00000250| 6c 64 20 69 6e 20 62 75 | 66 66 65 72 65 64 20 6f |ld in bu|ffered o|
|00000260| 75 74 70 75 74 20 28 61 | 6e 64 20 69 6e 70 75 74 |utput (a|nd input|
|00000270| 29 2e 0a 3e 54 68 65 72 | 65 20 61 72 65 20 6d 65 |)..>Ther|e are me|
|00000280| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 73 20 6c |mber fun|ctions l|
|00000290| 69 6b 65 20 63 69 6e 2e | 66 6c 75 73 68 28 29 2c |ike cin.|flush(),|
|000002a0| 20 61 6e 64 20 74 68 65 | 20 73 74 72 65 61 6d 62 | and the| streamb|
|000002b0| 75 66 20 63 6c 61 73 73 | 20 63 61 6e 0a 3e 62 65 |uf class| can.>be|
|000002c0| 20 74 6f 6c 64 20 28 62 | 79 20 61 20 73 74 72 65 | told (b|y a stre|
|000002d0| 61 6d 29 20 77 68 65 72 | 65 20 74 68 65 20 70 75 |am) wher|e the pu|
|000002e0| 74 2f 67 65 74 20 61 72 | 65 61 73 20 73 74 61 72 |t/get ar|eas star|
|000002f0| 74 20 61 6e 64 20 65 6e | 64 2e 20 41 6c 73 6f 20 |t and en|d. Also |
|00000300| 69 6e 20 74 68 65 0a 3e | 57 50 20 49 20 66 6f 75 |in the.>|WP I fou|
|00000310| 6e 64 20 73 6f 6d 65 20 | 72 65 66 65 72 65 6e 63 |nd some |referenc|
|00000320| 65 73 20 74 6f 20 73 74 | 72 65 61 6d 73 69 7a 65 |es to st|reamsize|
|00000330| 2e 0a 3e 49 20 77 6f 75 | 6c 64 20 6c 69 6b 65 20 |..>I wou|ld like |
|00000340| 74 6f 20 77 72 69 74 65 | 20 63 61 63 68 65 64 20 |to write| cached |
|00000350| 6f 75 74 70 75 74 20 28 | 75 6e 64 65 72 20 67 2b |output (|under g+|
|00000360| 2b 29 2c 20 62 75 74 20 | 6d 61 79 62 65 20 74 68 |+), but |maybe th|
|00000370| 69 73 20 69 73 0a 3e 69 | 6d 70 6c 65 6d 65 6e 74 |is is.>i|mplement|
|00000380| 65 64 20 69 6e 20 74 68 | 65 20 73 74 61 6e 64 61 |ed in th|e standa|
|00000390| 72 64 20 69 6f 73 74 72 | 65 61 6d 20 6c 69 62 2c |rd iostr|eam lib,|
|000003a0| 20 73 6f 20 49 20 77 6f | 75 6c 64 6e b4 74 20 68 | so I wo|uldn.t h|
|000003b0| 61 76 65 20 74 6f 20 72 | 65 69 6e 76 65 6e 74 0a |ave to r|einvent.|
|000003c0| 3e 74 68 65 20 77 68 65 | 65 6c 2e 0a 3e 49 66 20 |>the whe|el..>If |
|000003d0| 79 6f 75 20 66 6f 6c 6c | 6f 77 20 75 70 20 61 20 |you foll|ow up a |
|000003e0| 70 6f 73 74 69 6e 67 2c | 20 70 6c 65 61 73 65 20 |posting,| please |
|000003f0| 64 6f 20 73 65 6e 64 20 | 6d 65 20 61 20 63 6f 70 |do send |me a cop|
|00000400| 79 2c 20 61 73 20 6d 79 | 20 6e 65 77 73 20 61 63 |y, as my| news ac|
|00000410| 63 65 73 73 0a 3e 69 73 | 20 76 65 72 79 20 62 61 |cess.>is| very ba|
|00000420| 64 20 61 74 20 74 68 69 | 73 20 74 69 6d 65 2e 0a |d at thi|s time..|
|00000430| 3e 4d 61 6e 79 20 74 68 | 61 6e 6b 73 2c 0a 3e 41 |>Many th|anks,.>A|
|00000440| 78 65 6c 20 54 68 69 6d | 6d 0a 3e 0a 0a 49 6e 64 |xel Thim|m.>..Ind|
|00000450| 65 65 64 2c 20 74 68 65 | 20 69 6f 73 74 72 65 61 |eed, the| iostrea|
|00000460| 6d 73 20 6c 69 62 72 61 | 72 79 20 6f 66 20 63 6c |ms libra|ry of cl|
|00000470| 61 73 73 65 73 20 64 6f | 20 63 61 63 68 69 6e 67 |asses do| caching|
|00000480| 2e 20 20 57 68 65 6e 20 | 79 6f 75 20 0a 63 6f 6e |. When |you .con|
|00000490| 73 74 72 75 63 74 20 74 | 68 65 6d 2c 20 79 6f 75 |struct t|hem, you|
|000004a0| 20 63 61 6e 20 73 70 65 | 63 69 66 79 20 61 20 73 | can spe|cify a s|
|000004b0| 74 72 65 61 6d 62 75 66 | 2d 64 65 72 69 76 65 64 |treambuf|-derived|
|000004c0| 20 6f 62 6a 65 63 74 20 | 0a 74 6f 20 75 73 65 20 | object |.to use |
|000004d0| 66 6f 72 20 74 68 65 20 | 62 75 66 66 65 72 2e 20 |for the |buffer. |
|000004e0| 20 73 74 72 65 61 6d 62 | 75 66 2d 64 65 72 69 76 | streamb|uf-deriv|
|000004f0| 65 64 20 63 6c 61 73 73 | 65 73 20 70 65 72 6d 69 |ed class|es permi|
|00000500| 74 20 0a 79 6f 75 20 74 | 6f 20 70 72 6f 76 69 64 |t .you t|o provid|
|00000510| 65 20 74 68 65 20 62 75 | 66 66 65 72 20 74 68 65 |e the bu|ffer the|
|00000520| 79 20 73 68 6f 75 6c 64 | 20 75 73 65 2c 20 73 6f |y should| use, so|
|00000530| 20 79 6f 75 20 63 61 6e | 20 61 6c 6c 6f 63 61 74 | you can| allocat|
|00000540| 65 20 0a 77 68 61 74 65 | 76 65 72 20 73 69 7a 65 |e .whate|ver size|
|00000550| 20 62 75 66 66 65 72 20 | 79 6f 75 20 6e 65 65 64 | buffer |you need|
|00000560| 2e 0a 0a 44 6f 20 6e 6f | 74 65 2c 20 68 6f 77 65 |...Do no|te, howe|
|00000570| 76 65 72 2c 20 74 68 61 | 74 2d 2d 61 74 20 6c 65 |ver, tha|t--at le|
|00000580| 61 73 74 20 69 6e 20 74 | 68 65 20 69 6d 70 6c 65 |ast in t|he imple|
|00000590| 6d 65 6e 74 61 74 69 6f | 6e 73 20 49 27 76 65 20 |mentatio|ns I've |
|000005a0| 0a 73 65 65 6e 2d 2d 73 | 74 72 65 61 6d 62 75 66 |.seen--s|treambuf|
|000005b0| 20 64 6f 65 73 6e 27 74 | 20 73 70 6c 69 74 20 74 | doesn't| split t|
|000005c0| 68 65 20 62 75 66 66 65 | 72 20 62 65 74 77 65 65 |he buffe|r betwee|
|000005d0| 6e 20 69 6e 70 75 74 20 | 61 6e 64 20 0a 6f 75 74 |n input |and .out|
|000005e0| 70 75 74 20 62 75 66 66 | 65 72 69 6e 67 2e 20 20 |put buff|ering. |
|000005f0| 49 6e 73 74 65 61 64 2c | 20 69 74 20 75 73 65 73 |Instead,| it uses|
|00000600| 20 74 68 65 20 6f 6e 65 | 20 62 75 66 66 65 72 20 | the one| buffer |
|00000610| 6f 6e 65 20 77 61 79 20 | 6f 72 20 0a 74 68 65 20 |one way |or .the |
|00000620| 6f 74 68 65 72 2e 20 20 | 54 6f 20 67 65 74 20 6f |other. |To get o|
|00000630| 70 74 69 6d 61 6c 20 62 | 75 66 66 65 72 69 6e 67 |ptimal b|uffering|
|00000640| 2c 20 79 6f 75 27 64 20 | 6e 65 65 64 20 74 6f 20 |, you'd |need to |
|00000650| 68 61 76 65 20 61 6e 20 | 0a 69 73 74 72 65 61 6d |have an |.istream|
|00000660| 2d 64 65 72 69 76 65 64 | 20 6f 62 6a 65 63 74 20 |-derived| object |
|00000670| 61 6e 64 20 61 6e 20 6f | 73 74 72 65 61 6d 2d 64 |and an o|stream-d|
|00000680| 65 72 69 76 65 64 20 6f | 62 6a 65 63 74 20 0a 73 |erived o|bject .s|
|00000690| 65 70 61 72 61 74 65 6c | 79 20 6f 70 65 72 61 74 |eparatel|y operat|
|000006a0| 69 6e 67 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ing on t|he same |
|000006b0| 73 74 72 65 61 6d 2e 20 | 20 48 6f 77 65 76 65 72 |stream. | However|
|000006c0| 2c 20 79 6f 75 27 64 20 | 61 6c 73 6f 20 0a 68 61 |, you'd |also .ha|
|000006d0| 76 65 20 74 6f 20 73 79 | 6e 63 68 72 6f 6e 69 7a |ve to sy|nchroniz|
|000006e0| 65 20 74 68 65 6d 20 73 | 75 63 68 20 74 68 61 74 |e them s|uch that|
|000006f0| 20 63 68 61 6e 67 65 73 | 20 6d 61 64 65 20 62 79 | changes| made by|
|00000700| 20 74 68 65 20 6f 73 74 | 72 65 61 6d 20 0a 69 6e | the ost|ream .in|
|00000710| 76 61 6c 69 64 61 74 65 | 20 74 68 65 20 61 66 66 |validate| the aff|
|00000720| 65 63 74 65 64 20 70 61 | 72 74 73 20 6f 66 20 74 |ected pa|rts of t|
|00000730| 68 65 20 69 73 74 72 65 | 61 6d 20 62 75 66 66 65 |he istre|am buffe|
|00000740| 72 2e 0a 0a 2d 2d 20 0a | 52 6f 62 65 72 74 20 53 |r...-- .|Robert S|
|00000750| 74 65 77 61 72 74 09 09 | 7c 20 4d 79 20 6f 70 69 |tewart..|| My opi|
|00000760| 6e 69 6f 6e 73 20 61 72 | 65 20 75 73 75 61 6c 6c |nions ar|e usuall|
|00000770| 79 20 6d 79 20 6f 77 6e | 2e 0a 44 61 74 61 6c 79 |y my own|..Dataly|
|00000780| 74 69 63 73 2c 20 49 6e | 63 2e 0a 28 35 31 33 29 |tics, In|c..(513)|
|00000790| 32 32 36 2d 37 37 30 30 | 0a 73 74 65 77 40 64 61 |226-7700|.stew@da|
|000007a0| 74 61 6c 79 74 69 63 73 | 2e 63 6f 6d 0a 0a 0a |talytics|.com... |
+--------+-------------------------+-------------------------+--------+--------+